<?php 
	include_once 'thuvienham.php';
	include_once 'caidathethong_db.php';

	class caidathethong_bs 
	{
		//------------------Fields [6]------------------
			// #0
		private $ThoiGianDangXuat = -1;
		public function SetThoiGianDangXuat($ThoiGianDangXuat)         { $this->ThoiGianDangXuat = $ThoiGianDangXuat;         }
		public function GetThoiGianDangXuat()                          { return $this->ThoiGianDangXuat;                      }
			// #1
		private $EThayDoiCapQuyen = -1;
		public function SetEThayDoiCapQuyen($EThayDoiCapQuyen)         { $this->EThayDoiCapQuyen = $EThayDoiCapQuyen;         }
		public function GetEThayDoiCapQuyen()                          { return $this->EThayDoiCapQuyen;                      }
			// #2
		private $EKhiDatLaiMatKhau = -1;
		public function SetEKhiDatLaiMatKhau($EKhiDatLaiMatKhau)       { $this->EKhiDatLaiMatKhau = $EKhiDatLaiMatKhau;       }
		public function GetEKhiDatLaiMatKhau()                         { return $this->EKhiDatLaiMatKhau;                     }
			// #3
		private $EKhiXoaNguoiDung = -1;
		public function SetEKhiXoaNguoiDung($EKhiXoaNguoiDung)         { $this->EKhiXoaNguoiDung = $EKhiXoaNguoiDung;         }
		public function GetEKhiXoaNguoiDung()                          { return $this->EKhiXoaNguoiDung;                      }
			// #4
		private $EKhiCapNhatNguoiDung = -1;
		public function SetEKhiCapNhatNguoiDung($EKhiCapNhatNguoiDung) { $this->EKhiCapNhatNguoiDung = $EKhiCapNhatNguoiDung; }
		public function GetEKhiCapNhatNguoiDung()                      { return $this->EKhiCapNhatNguoiDung;                  }
			// #5
		private $EKhiThemNguoiDung = -1;
		public function SetEKhiThemNguoiDung($EKhiThemNguoiDung)       { $this->EKhiThemNguoiDung = $EKhiThemNguoiDung;       }
		public function GetEKhiThemNguoiDung()                         { return $this->EKhiThemNguoiDung;                     }

		//------------------Method------------------
		public function CapNhat()
		{
			$data = new caidathethong_db();
			return $data->CapNhat($this->ThoiGianDangXuat, $this->EThayDoiCapQuyen, $this->EKhiDatLaiMatKhau, $this->EKhiXoaNguoiDung, $this->EKhiCapNhatNguoiDung, $this->EKhiThemNguoiDung);
		}

		public function LayDanhSach()
		{
			$data = new caidathethong_db();
			return $data->LayDanhSach($this->ThoiGianDangXuat, $this->EThayDoiCapQuyen, $this->EKhiDatLaiMatKhau, $this->EKhiXoaNguoiDung, $this->EKhiCapNhatNguoiDung, $this->EKhiThemNguoiDung);
		}

	}

